html,
body,
#root {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  background-color: #f0f0f0;
}


* {
  margin: 0;
  padding: 0;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -webkit-box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
  background-color: #f0f0f0;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  background-color: #f0f0f0;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
  background-color: #555;
}

img {
  pointer-events: none;
  -webkit-touch-callout: none;
}

ul,
li {
  list-style: none;
}

main {
  width: 100%;
  height: 100%;
  position: relative;
}

header {
  text-align: center;
}

footer {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-flex-direction: row;
  -moz-box-orient: horizontal;
  -moz-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-justify-content: space-between;
  -moz-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 10px;
  background-color: #fff;

  >div {
    width: 70%;
    border: 1px solid #d9d9d9;
    height: 32px;
    padding: 4px;
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
    display: inline-block;
    border: 1px solid #dcdee2;
    border-radius: 4px;
    color: #515a6e;
    background-color: #fff;
    background-image: none;
    position: relative;
    cursor: text;
    -webkit-transition: border 0.2s ease-in-out, background 0.2s ease-in-out,
      box-shadow 0.2s ease-in-out;
    -o-transition: border 0.2s ease-in-out, background 0.2s ease-in-out,
      box-shadow 0.2s ease-in-out;
    -moz-transition: border 0.2s ease-in-out, background 0.2s ease-in-out,
      box-shadow 0.2s ease-in-out;
    transition: border 0.2s ease-in-out, background 0.2s ease-in-out,
      box-shadow 0.2s ease-in-out;
    outline: none;
    white-space: nowrap;
    overflow: hidden;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;

    img {
      margin: 0 1px;
    }
  }
}

.login,
.response-404 {
  width: 100%;
  height: 100%;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;

  .submit {
    text-align: center;

    >div {
      max-width: 100%;
    }
  }
}

section {
  height: -webkit-calc(100% - 57px);
  height: -moz-calc(100% - 57px);
  height: calc(100% - 57px);
  overflow: hidden;

  >div {
    overflow-x: hidden;
    overflow-y: scroll;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    height: 100%;
    padding: 10px;

  }
}

.message {
  margin-bottom: 4px;

  >p {
    display: inline-block;
    margin: 0;
    color: #1890ff;
    margin-right: 4px;
  }
}

.logined,
.logout {
  text-align: center;
  margin-bottom: 4px;

  >p {
    display: inline-block;
    margin-right: 4px;
  }
}

.logined p {
  color: #1890ff;
}

.logout p {
  color: #ff4d4f;
}

.emoji {
  font-size: 24px;
  margin: 0;
}

.emoji-content {
  width: 100%;
  position: absolute;
  bottom: 57px;
  left: 0;
  background-color: #fff;
  border-bottom: 1px solid #f0f0f0;
  padding: 10px;

  ul {
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0;
  }

  li {
    margin: 2px;
  }

}

@media screen and (min-width: 1000px) {
  #root {
    width: 375px;
    height: 667px;
  }

  html,
  body {
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: url(https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1579424220383&di=20de014c8f5288eaa28dd7844af8d8a1&imgtype=0&src=http%3A%2F%2Fpic1.win4000.com%2Fwallpaper%2F2020-01-17%2F5e210fe75ae65.jpg)no-repeat center center;
  }
}
